
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>学并思-留言板</title>

    <!-- Bootstrap core CSS -->
    <link href="./Public/css/bootstrap.min.css" rel="stylesheet">
  </head>

  <body>

    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">留言板</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <form class="navbar-form navbar-right">
            <div class="form-group">
              <input type="text" placeholder="Email" class="form-control">
            </div>
            <div class="form-group">
              <input type="password" placeholder="Password" class="form-control">
            </div>
            <button type="submit" class="btn btn-success">登录</button>
          </form>
        </div><!--/.navbar-collapse -->
      </div>
    </nav>

    <!-- Main jumbotron for a primary marketing message or call to action -->


    <div class="container" style="padding-top:80px;">
    <?php var_dump($editData) ?>
      <!-- Example row of columns -->
      <div class="row">
      	<form action="./update.php?id=<?php echo $id; ?>" method="post" class="form-inline">
		  <div class="form-group">
		    <label class="sr-only" for="exampleInputAmount">大侠叫什么</label>
		    <div class="input-group">
		      <div class="input-group-addon">用户名</div>
		      <input type="text" class="form-control" name="username" value="<?php echo $editData['username'] ?>"   id="exampleInputAmount" placeholder="大侠叫什么">
		    </div>
		  </div>
		  <button type="submit" class="btn btn-primary">保存</button>
		  <br>
		  <textarea style="margin-top:20px;width:100%" class="form-control" rows="3" name="content"><?php echo $editData['content'] ?></textarea>
		</form>

      </div>

      <hr>

      <footer>
        <p>&copy; 2016 Company, Inc.</p>
      </footer>
    </div> 
  </body>
</html>
